package web;

import com.gaoxiao.framework.modules.user.service.MemberService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * Created by xuxiang on 2016/7/28.
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "classpath*:/spring-context*.xml" })
public class GetMemberTest extends AbstractTransactionalJUnit4SpringContextTests {



   @Autowired
   private MemberService memberService;

    @Test
    public void testGetVerificationCode() {
       this.memberService.getVerificationCode("15618043022");
    }
}
